@echo off

for /f "tokens=1,2 delims==" %%a in (config.ini) do (
	if %%a==dbName set dbName=%%b
	if %%a==dbUser set dbUser=%%b
	if %%a==dumpFileName set dumpFileName=%%b
)

set absolutePath=%~dp0


%absolutePath%mysql.exe -u %dbUser% --force %dbName% < %absolutePath%\%dumpFileName%
echo -------------------------------------
echo INFO: Import to DataBase: '%dbName%'!
echo -------------------------------------

pause